<template>
	<view class="payment-success">
		<view class="f-color payment-success-title">支付成功<p class="iconfont icon-chenggong"></p></view>
		<view @tap="goToIndex" class="back-index">要不去首页再买点呗</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goToIndex() {
				uni.switchTab({
					url: "/pages/index/index"
				})
			}
		}
	}
</script>

<style scoped>
	.payment-success {
	    position: absolute;
		left: 0%;
		right: 0%;
		bottom: 0;
		top: 0%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.payment-success-title{
		display: flex;
	}
	.icon-chenggong{
		font-size: 40rpx;
		color:#42B7FB ;
	}
	.back-index {
		padding: 10rpx 60rpx;
		border: 2rpx solid #acacac;
		border-radius: 80rpx;
	}
</style>